package com.spring.demo4.eg7.factory;

import java.lang.annotation.*;

@Documented
@Target({ElementType.TYPE, ElementType.METHOD, ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface MyOrder {

    // value值越小，优先级越高
    int value() default MyOrdered.LOWEST_PRECEDENCE;
}
